projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5e0d07
)
(icomplete-get-keys): Look up KEYS using all maps in proper buffer.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 18 Jan 2008 03:17:20 +0000
(
03:17
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 18 Jan 2008 03:17:20 +0000
(
03:17
+0000)
lisp/icomplete.el
patch
|
blob
|
history
diff --git
a/lisp/icomplete.el
b/lisp/icomplete.el
index b1e8fa5ebb58989522709eab797af0a3e54daadc..3eb4b4babf2531b3b4d057bcfae82176f9e89361 100644
(file)
--- a/
lisp/icomplete.el
+++ b/
lisp/icomplete.el
@@
-147,8
+147,7
@@
is minibuffer."
(save-excursion
(let* ((sym (intern func-name))
(buf (other-buffer nil t))
- (map (save-excursion (set-buffer buf) (current-local-map)))
- (keys (where-is-internal sym map)))
+ (keys (with-current-buffer buf (where-is-internal sym))))
(if keys
(concat "<"
(mapconcat 'key-description